package com.blockchain.securewallet.ltc;

import org.bitcoinj.core.Sha256Hash;
import org.bitcoinj.core.Utils;
import org.bitcoinj.params.AbstractBitcoinNetParams;
import org.bitcoinj.params.MainNetParams;

/**
 * Created by HP on 2018/6/24.
 */

public class TestBCCParams extends MainNetParams {

    private static TestBCCParams instance;

    public TestBCCParams() {
        addressHeader = 0;
        p2shHeader = 5;
        acceptableAddressCodes = new int[] { addressHeader, p2shHeader };
//        packetMagic = 0xe3e1f3e8L;
//        checkpoints.put(478559, Sha256Hash.wrap("000000000000000000651ef99cb9fcbe0dadde1d424bd9f15ff20136191a5eec"));

    }

    public static synchronized TestBCCParams get() {
        if (instance == null) {
            instance = new TestBCCParams();
        }
        return instance;
    }

}
